<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<% 
	String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>main</title>
</head>
<body>

<center>
	<h2>Purchase</h2>
</center>

<table>
	<tr>
		<td width="15%" height="100%" valign="top">
			<p>CurrentUser: <%=request.getSession().getAttribute("user") %></p>
			<p><a href="<%=path %>/purchase/inputPurchase.do" target="mainFrame">CreatePurchase</a></p>
			<p><a href="<%=path %>/purchase/myTaskList.do" target="mainFrame">MyTaskList</a></p>
			<p><a href="<%=path %>/purchase/login.jsp">Logout</a></p>
		</td>
		
		<td width="85%" height="100%">
			<iframe name="mainFrame" src="" frameborder="0" marginheight="0" marginwidth="0" 
				width="100%" height="700"></iframe>
		</td>
	</tr>
</table>
</body>
</html>